package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "bus_bonus_rebate")
public class BusBonusRebate implements Serializable{
    @Id
    private Integer id;

    /**
     * 操作类型
     */
    @Column(name = "oper_type")
    private String operType;

    /**
     * 出款方id
     */
    @Column(name = "pay_user_id")
    private Integer payUserId;

    /**
     * 收款方id
     */
    @Column(name = "receive_user_id")
    private Integer receiveUserId;


    /**
     * 订单号
     */
    @Column(name = "order_no")
    private String orderNo;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 状态	0-失败 1-成功 2-审核中
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    private Date addtime;

    private String addip;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取操作类型
     *
     * @return oper_type - 操作类型
     */
    public String getOperType() {
        return operType;
    }

    /**
     * 设置操作类型
     *
     * @param operType 操作类型
     */
    public void setOperType(String operType) {
        this.operType = operType;
    }

    /**
     * 获取出款方id
     *
     * @return pay_user_id - 出款方id
     */
    public Integer getPayUserId() {
        return payUserId;
    }

    /**
     * 设置出款方id
     *
     * @param payUserId 出款方id
     */
    public void setPayUserId(Integer payUserId) {
        this.payUserId = payUserId;
    }

    /**
     * 获取收款方id
     *
     * @return receive_user_id - 收款方id
     */
    public Integer getReceiveUserId() {
        return receiveUserId;
    }

    /**
     * 设置收款方id
     *
     * @param receiveUserId 收款方id
     */
    public void setReceiveUserId(Integer receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    /**
     * 获取订单号
     *
     * @return order_no - 订单号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 设置订单号
     *
     * @param orderNo 订单号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取金额
     *
     * @return amount - 金额
     */
    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * 设置金额
     *
     * @param amount 金额
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 获取状态	0-失败 1-成功 2-审核中
     *
     * @return status - 状态	0-失败 1-成功 2-审核中
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态	0-失败 1-成功 2-审核中
     *
     * @param status 状态	0-失败 1-成功 2-审核中
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取备注
     *
     * @return remark - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getAddip() {
        return addip;
    }

    public void setAddip(String addip) {
        this.addip = addip;
    }
}